extends ../../layout/layout

block content
  .content-wrapper
    .citylist
      .row
        .col-xs-3.first
          .city-item
            .city-name.a-pointer#city-add 新增
            //- .city-form.hide
            //-   .col-xs-8
            //-     input.form-control#new-city-name(name="name" placeholder="请输入城市名")
            //-   .col-xs-2
            //-     button.btn.btn-default#btn-city-add(type="button")
            //-       //- i.fa.fa-cog
            //-       span 确定
        //- .col-xs-3
        //-   .city-item(data-kid)
        //-     .city-name 武汉
        //-     .city-del
        //-       i.fa.fa-close.fa-3x
        //-     .city-op
        //-       span 机场设置
        //-       span 站务设置
        //-       span 商圈设置
        //- .col-xs-3(data-kid)
        //-   .city-item
        //-     .city-name 贵阳
        //-     .city-del
        //-       i.fa.fa-close.fa-3x
        //-     .city-op
        //-       span 机场设置
        //-       span 站务设置
        //-       span 商圈设置

block vendor_js
  script(src="../../vendor/sinput/sinput.min.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")

  script(src="//webapi.amap.com/maps?v=1.4.2&key=cdd6b8f058b5bd6b8a5e395cba02a043&plugin=AMap.ToolBar,AMap.Autocomplete")
  script(src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11")

block self_js
  script(src="../../js/data/pc-code.js")
  script(src="../../js/module/base/citylist.js")

block self_css
  link(rel="stylesheet", href="../../css/base/citylist.css")

block layer

  //- 城市详细信息
  .layer-box#layer-city
    .airport-box.mw1200.padding20
      form#form-city
        .row.form-row.form-row-sm
          .form-text
            span 城市：
          .form-container
            input.form-control.form-width200#new-city-name(name="name" placeholder="请输入城市名")
            input(type="hidden" name="kid")
        .row.form-row.form-row-sm
          .form-text
            span 负责人：
          .form-container
            input.form-control.form-width200(name="manager" placeholder="请输入负责人姓名")
        .row.form-row.form-row-sm
          .form-text
            span 负责人电话：
          .form-container
            input.form-control.form-width200(name="managerPhone" placeholder="请输入负责人电话")

  //- 机场设置
  .layer-box#layer-airport
    .box-airport
      //- 列表
      .airport-name.clearfix
        span 机场列表
      .airport-list.padding20
        ul#airport-list
          //-li(data-kid)
            span.marginR10(data-name) 机场名称
            button.btn.btn-default.marginR10.airport-view(type="button")
              //- i.fa.fa-edit
              span 查看/修改
            button.btn.btn-default.marginR10.airport-terminal(type="button")
              //- i.fa.fa-edit
              span 航站楼管理
            button.btn.btn-default.marginR10.airport-parking(type="button")
              //- i.fa.fa-edit
              span 泊车位管理
            button.btn.btn-default.marginR10.airport-del(type="button")
              //- i.fa.fa-trash-o
              span 删除

      .airport-add
        button.btn.btn-primary.marginR10#airport-add(type="button")
          i.fa.fa-plus
          span 新增机场

  //- 机场详情
  .layer-box#layer-airport-detail
    .airport-box.mw1200.padding20
      form#form-airport
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 机场名：
            .form-container
              input.form-control.form-width200(name="name" placeholder="请输入机场名称")
              input(type="hidden" name="kid")
          .col-xs-6
            .form-text
              span 机场电话：
            .form-container
              input.form-control.form-width200(name="tel" placeholder="请输入机场电话")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 机场地址：
            .form-container
              input.form-control.form-width500(name="address" placeholder="请输入机场地址")
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 管理员：
            .form-container
              input.form-control.form-width200(name="manager" placeholder="请输入管理员姓名")
          .col-xs-6
            .form-text
              span 管理员电话：
            .form-container
              input.form-control.form-width200(name="managerPhone" placeholder="请输入管理员电话")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 机场位置：
            .form-container.form-inline
              span 经度
              input.form-control.form-width120.marginR10(name="lng" placeholder="请输入经度")
              span 纬度
              input.form-control.form-width120.marginR10(name="lat" placeholder="请输入纬度")
              button.btn.btn-default.marginR10#pick-aiport-address(type="button")
                //- i.fa.fa-plus
                span 选择地址
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 坐标范围(公里)：
            .form-container
              input.form-control.form-width200(name="range" placeholder="请输入坐标范围")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 接机引导：
            .form-container
              textarea.form-control.form-width500(name="pickupGuide" placeholder="请输入接机引导")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 送机引导：
            .form-container
              textarea.form-control.form-width500(name="sendGuide" placeholder="请输入送机引导")
  //- 航站楼管理
  .layer-box#layer-airport-terminal
    .box-airport
      //- 列表
      .airport-name.clearfix
        span 航站楼列表
      .airport-list.padding20
        ul#terminal-list

      .terminal-add
        button.btn.btn-primary.marginR10#terminal-add(type="button")
          i.fa.fa-plus
          span 新增航站楼

  //- 新增航站楼
  .layer-box#layer-terminal-detail
    .airport-box.mw1200.padding20
      form#form-terminal
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 航站楼名称：
            .form-container
              input.form-control.form-width200(name="name")
              input(type="hidden" name="kid")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 航站楼位置：
            .form-container.form-inline
              span 经度
              input.form-control.form-width120.marginR10(name="lng" placeholder="请输入经度")
              span 纬度
              input.form-control.form-width120.marginR10(name="lat" placeholder="请输入纬度")
              button.btn.btn-default.marginR10#pick-terminal-address(type="button")
                //- i.fa.fa-plus
                span 选择位置

  //- 机场泊车位管理
  .layer-box#layer-airport-parking
    .box-airport
      //- 列表
      .airport-name.clearfix
        span 泊车位列表
      .airport-list.padding20
        ul#airport-parking-list

      .airport-parking-add
        button.btn.btn-primary.marginR10#airport-parking-add(type="button")
          i.fa.fa-plus
          span 新增泊车位

  //- 泊车位明细
  .layer-box#layer-airport-parking-detail
    .airport-box.mw1200.padding20
      form#form-airport-parking
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 泊车位名称：
            .form-container
              input.form-control.form-width200(name="name" placeholder="请输入泊车位名称")
          .col-xs-6
            .form-text
              span 航站楼：
            .form-container
              select.form-control.form-width200(name="airportTerminalId")
        //- .row.form-row.form-row-sm
        //-   .col-xs-6
        //-     .form-text
        //-       span 经度：
        //-     .form-container
        //-       input.form-control.form-width200(name="lng" placeholder="请输入经度")
        //-   .col-xs-6
        //-     .form-text
        //-       span 纬度：
        //-     .form-container
        //-       input.form-control.form-width200(name="lat" placeholder="请输入纬度")

  //- 站务设置
  .layer-box#layer-station
    .box-airport
      //- 列表
      .airport-name.clearfix
        span 站点列表
      .airport-list.padding20
        ul#station-list

      .airport-add
        button.btn.btn-primary.marginR10#station-add(type="button")
          i.fa.fa-plus
          span 新增站点

  //- 站点详情
  .layer-box#layer-station-detail
    .airport-box.mw1200.padding20
      form#form-station
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 站点名：
            .form-container
              input.form-control.form-width200(name="name" placeholder="请输入站点名称")
              input(type="hidden" name="kid")
          .col-xs-6
            .form-text
              span 站点电话：
            .form-container
              input.form-control.form-width200(name="tel" placeholder="请输入站点电话")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 站点地址：
            .form-container
              input.form-control.form-width500(name="address" placeholder="请输入站点地址")
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 管理员：
            .form-container
              input.form-control.form-width200(name="manager" placeholder="请输入管理员姓名")
          .col-xs-6
            .form-text
              span 管理员电话：
            .form-container
              input.form-control.form-width200(name="managerPhone" placeholder="请输入管理员电话")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 站点位置：
            .form-container.form-inline
              span 经度
              input.form-control.form-width120.marginR10(name="lng" placeholder="请输入经度")
              span 纬度
              input.form-control.form-width120.marginR10(name="lat" placeholder="请输入纬度")
              button.btn.btn-default.marginR10#pick-station-address(type="button")
                //- i.fa.fa-plus
                span 选择位置
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 坐标范围(公里)：
            .form-container
              input.form-control.form-width200(name="range" placeholder="请输入坐标范围")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 接站引导：
            .form-container
              textarea.form-control.form-width500(name="pickupGuide" placeholder="请输入接站引导")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 送站引导：
            .form-container
              textarea.form-control.form-width500(name="sendGuide" placeholder="请输入送站引导")
  //- 出站口管理
  .layer-box#layer-station-exit
    .box-airport
      //- 列表
      .airport-name.clearfix
        span 出站口列表
      .airport-list.padding20
        ul#station-exit-list

      .terminal-add
        button.btn.btn-primary.marginR10#station-exit-add(type="button")
          i.fa.fa-plus
          span 新增出站口

  //- 新增出站口
  .layer-box#layer-station-exit-detail
    .airport-box.mw1200.padding20
      form#form-station-exit
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 出站口名称：
            .form-container
              input.form-control.form-width200(name="name")
              input(type="hidden" name="kid")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text
              span 出站口位置：
            .form-container.form-inline
              span 经度
              input.form-control.form-width120.marginR10(name="lng" placeholder="请输入经度")
              span 纬度
              input.form-control.form-width120.marginR10(name="lat" placeholder="请输入纬度")
              button.btn.btn-default.marginR10#pick-station-exit-address(type="button")
                //- i.fa.fa-plus
                span 选择位置


  //- 站点泊车位管理
  .layer-box#layer-station-parking
    .box-airport
      //- 列表
      .airport-name.clearfix
        span 泊车位列表
      .airport-list.padding20
        ul#station-parking-list

      .airport-parking-add
        button.btn.btn-primary.marginR10#station-parking-add(type="button")
          i.fa.fa-plus
          span 新增泊车位

  //- 泊车位明细
  .layer-box#layer-station-parking-detail
    .airport-box.mw1200.padding20
      form#form-station-parking
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text
              span 泊车位名称：
            .form-container
              input.form-control.form-width200(name="name" placeholder="请输入泊车位名称")
          .col-xs-6
            .form-text
              span 出站口：
            .form-container
              select.form-control.form-width200(name="stationExitId")
        //- .row.form-row.form-row-sm
        //-   .col-xs-6
        //-     .form-text
        //-       span 经度：
        //-     .form-container
        //-       input.form-control.form-width200(name="lng" placeholder="请输入经度")
        //-   .col-xs-6
        //-     .form-text
        //-       span 纬度：
        //-     .form-container
        //-       input.form-control.form-width200(name="lat" placeholder="请输入纬度")
